package com.calvin.study.strategy.spring.concrete;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.calvin.study.strategy.spring.service.HotelService;
import com.calvin.study.strategy.strategy.AbstractStrategy;
import com.calvin.study.strategy.strategy.Strategy;

//酒店策略
@Component
public class Hotel extends AbstractStrategy implements Strategy {

	
	@Autowired private HotelService hotelService;


	@Override
	public void issue(Object... params) {
		hotelService.sendPrize();
	}

}
